|
<DIV id=list>
U, i# b9 J" Z, v- C<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>
* E4 T: l2 j$ \$ Q/ G! O# G1 \<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
+ T7 _ p1 V1 V: B [<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>8 T( Q4 s; m7 r2 N. i
<DIV id=lrc3 style="COLOR: #666666"></DIV>
7 j# \/ E4 q) H5 ~' k2 m/ O<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>
+ C2 ~7 H4 Y* O# E, [% B1 f<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>+ o4 K: k5 S* B, B$ i8 ^
<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>% }7 k9 j9 i+ B- g
<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>: v* ^% V. Q/ y* Y9 f1 k4 {8 T
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
* K3 s% W5 a! Z8 K$ w<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>- U' F& |( V5 G2 s; O8 [* }
<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
7 _' y- ?0 ^" I, |: s% h, Z, b m# b<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV># I, u+ [0 s- O! n3 r2 x
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>
* z3 E* s5 a( Z" x<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV> x" s: p6 e$ h z# M/ c- `* V
<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>
& I. F& z5 E. S9 u& v: G, L<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
3 l" |) g: L9 c0 A" d<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
8 V% _; s( j$ V+ z1 ~% @<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>' t( h: |+ B& k/ C, J0 A4 ^- L
<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
) n6 X# }% J: F4 [<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>
# Q( t2 W2 M! f ~: Q<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>. W/ d* T7 l& `: R/ `
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV># u4 v, C) d5 A0 t7 Q
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>" Z5 v8 @7 h1 u8 U" p
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>( g3 x" B8 _# r3 ^. `& P* Y
<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>8 r( I6 z' Q# v4 z# j
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>
7 m3 |+ K( k2 R5 T5 c<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>% T# D+ P8 l, \ z4 W2 r- H
<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>. [7 s2 X9 o% h7 I* C' y
<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>6 g8 f/ d R7 O
<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>2 C$ [) i7 k6 i3 K; E- E! q1 y0 \
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
z8 i+ o2 g* g }5 X2 e0 w9 J! \0 i<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
6 Q( v- _) g! M9 A0 `2 q<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>
8 _ V8 l& I, U/ \9 L4 x* }$ N5 W, a4 x<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>- ?- y2 e9 n4 {6 V
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>' y- L) ~ P. p( }% u$ ^
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>( L' `, z+ @$ p" O; E& i4 h6 `& o
<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV>
5 K# W! U% B2 i: O# ]+ b' i<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
: f4 \6 k" m( y7 u0 J4 ?/ U% A<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>
# X% g! M% j+ D8 r( W6 L<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>- e- l# G+ T$ y$ c4 B/ d
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>* N3 s( X4 X& `' ^0 P
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>9 E' |1 J: j6 R6 g$ V
<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>' o9 z m. e! |1 ?2 o$ L, U5 [- g6 i
<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>5 S# U d/ I$ V( }1 i$ G/ M% m$ M
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>
% P/ [; l9 f3 ?, o3 i2 Z<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
: o8 X( _8 O: T4 h* R<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>9 `$ `3 }7 o! |& s, r
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>9 q) O! b* y# z1 \1 ?
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>9 X6 Z: d/ S+ i& W( i
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>; ~3 p4 H7 \6 \+ n
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>
+ L/ K: c8 l6 H2 K1 q6 j" \: v<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>5 `6 _8 o# r0 ^- ~
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>" b* s2 R& R, @9 M8 d9 e ?$ m9 s
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 . f. C) P, y, E4 v4 k& I1 R% g5 Q: s
<DIV id=lrc style="DISPLAY: none"></DIV>4 O7 r5 u8 R$ @9 c
<SCRIPT type=text/javascript>
9 O; u; {3 e7 X! D7 @$ bdocument.domain="1ting.com";0 L( I( q' D' _ ~* z
var colorPasted="#666666";6 E( ? A# c2 G! I& G0 u/ U
var colorPlaying="#ff3300";% y5 O }. x @2 a8 g$ L) t
var colorNormal="#000000";5 G1 Q2 J- f2 x w6 t
$ = function (a,g){! j: f3 d: a4 ]0 T* l7 m
var o = new Array(); ) D% C! K/ O/ s
var c = new Array();
9 D. v" U+ Z6 ?7 w4 s6 C var r; 0 I6 S) A. a* }( ^8 I- ?- u) v
var u; % B+ w9 s# }7 v
var a = a.split(';');
6 I- \& b) U0 }0 o
& N9 T: u0 T7 d) N var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");% g' X. e/ Y4 A4 E: f
for(var i=0;i<e.length;i++){5 |8 r {+ {& C* M8 q$ o) z0 f
eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
- S" F) J$ J7 G5 X; V) ~* W }# W5 x4 A) b1 ]6 P) L/ i
( M5 C- l9 X, r$ `3 s6 k after = function (t,d,s){% S7 N N. |# e8 }4 N. t7 g6 W& c
$after = function (){9 O0 J) ^4 ~( N: i! \* {, U
var $n=document.createElement(t);9 N3 e7 U/ s6 U( t+ f
if(d!=null){
3 C" A4 h5 K0 x- }. b $n.id=d; 8 b+ X/ B3 m3 V8 J6 B1 e% V
}! u3 ? t9 R$ {5 e( X6 X0 M/ x1 K9 m+ Y |
8 W- y' L$ p2 V I* L$ l0 ]# D" k( _# Z u.insertBefore($n,null) ! q# U3 }. m. l! w4 z# ^; Q! j
r = $n; " y# [: L! f/ X: W; b1 g" v
u = $n; ; _6 I5 p: d" \
}
' b; o& W4 b& t& z; a $for(s,"$after")2 c6 q f0 _' I' [+ z
}
1 L9 \9 I- j- E; b) X/ `9 ~% J1 ^5 V) Q
show = function (s){: Z- G. S9 i0 D4 T( n+ l. Y
$show = function (){5 l4 P- V* `# t" P
u.style.display!="none" ? style("display:none") : style("display:block") ;
8 H5 V7 g7 @7 e* q( w) `! ? }" r c M4 S% P5 D& z9 w) y4 y
$for(s,"$show")
' R% g: l% d: j5 Q4 V/ [7 A }
; r* N! P7 H% g/ b# ?/ x1 f/ Z, t, i5 \6 }
check = function (t,s){
$ C$ } A C- C $check = function (){
& a* J2 r3 y8 _# H if(t=="2"){
' l8 C2 p, y! g if(u.checked){9 k' M1 ?4 Z+ l' K: t \5 O
u.checked = false;; V% R& J4 ?" Q- v! B0 ^! b$ {
}else{
" ~. O3 z# v$ a$ q0 F u.checked = true;$ y* [- D! M9 R* y- p- V4 j
}
. n$ m1 I4 T$ P# z- P, \% l, U' q }else{. o" Y; g. U8 B
u.checked = t*1 ;
9 Z- f1 r. A5 H5 k v- Z }
s {" n) B. d$ _5 @2 y. p }' ^6 o) Y* r: N1 d6 O
$for(s,"$check")
0 T/ h4 h: u# q) M( E: I }2 A, d6 V+ Q+ ~ Q6 P+ H
; s2 N/ |# }6 g, c
style = function (v,s){. e* p% B3 b! b: g# F4 f; m
$style = function (){6 I- b' a) R) Y/ O" m) g5 v
var $n = v.split(",")
5 y3 R' v4 q, g1 ~ w for (var i=0;i<$n.length;i++ ){6 f# z' g0 {& O$ \6 V
var $m = $n<i>.split(":") * `. S9 n3 o% W8 r# b! o
eval("u.style."+$m[0]+"='"+$m[1]+"'");
" G/ Q0 u. Z( E( J5 v& e, j# e }. R( j. b; b# c' Y' ]3 P
}
. J% R+ R' i% t $for(s,"$style")
( Z# S8 H# N% V' A3 O }* d }+ s, J% u+ m z# Z1 {4 a
6 D) D+ k, w, v, f0 b L value = function (v,s){9 z$ e9 Z* ~3 d, D
var $n= $this (v);0 a3 P# U2 P4 `/ C3 O- \ q
$value = function (){
0 l# G& Y8 n6 q- S- O) y. b3 S u.value = $n
- Q6 [; V* p7 b/ O/ n, h8 J, S }& V# _# E/ Y4 V0 U; w# y9 f8 `% S
$for(s,"$value") 7 }6 b' p6 H# V& ~8 X" M9 W
}
% V7 v! u/ |" c" p: E$ r5 `, a# [* @( K# G4 A' n- M
text = function (v,s){7 ]1 g1 |( E6 w
var $n= $this (v);
! F6 D q* {% l5 J$ }; K- V $text = function (){
2 Y, N2 |- V; T" r8 E3 l7 }
" E- Y- I& a' T& I u.text = $n+ F1 c6 a' T" U
}
9 C0 z% }% ^1 ]$ q7 I $for(s,"$text")
: u* n5 e1 C4 X) W5 r }
( Q9 l: g0 z, S4 q S: e! q# h- k- v$ D0 h/ G& l x
innerhtml = function (v,s){
/ d2 r% k" X2 {5 O! p: m- b% t var $n= $this (v);
2 s5 H, q6 ~% ~2 b/ V7 b $innerhtml = function (){
- L' s* k, V) V0 j( w u.innerHTML = $n
$ x' ~8 V9 C6 z2 ^- C }
. d+ M8 c1 F) E$ n $for(s,"$innerhtml")
3 k" @/ s3 }# u! ] }* w' a1 {; Q: ~2 z- x9 p: I
, j) m: n4 W e8 v: W- E, Q removechild = function (s){
3 h8 n+ Z0 R. H3 j4 D/ F $removechild = function (){
. O. P9 p5 K" V+ h& m+ Z1 \$ F- b$ \& J u.parentNode.removeChild(u)" ^% w- K. c( H7 e0 m9 B
}7 |4 \5 ]( Q: w) A
$for(s,"$removechild")
+ J7 @5 R+ M" [! c }7 a3 |- B$ C& u7 u* N) l: E# s
/ ~# V8 R' p% R
$this =function(v){
A9 V/ K4 o& u$ D" I7 l/ ^* S/ D if(v.indexOf("this") == 0){
8 {% [- S4 A2 C" J return eval(v.replace("this","u")): O4 _ @: N" ]
}
& \# v& \& `7 o% d* h1 f% J; i return v;
4 l# }1 R: C- A+ K- a. `- d7 U }
4 V: s3 ^7 C, n1 h. A: g
3 B* s" l4 Z, u $event = function (s){
0 t+ u k P" c8 w ?3 I* q/ g var $n ="u."+s+" = function(){$work(this,s);}"
* h* o( f3 w0 O0 l return $n;! _- g, P( P& n" S
}
4 Y3 M7 S7 P% ^: p
" U/ @# C s7 A $replace = function (s){
3 f( X# u2 b: Z! l! C# p0 @! ^4 y/ p$ d+ b+ B/ t3 a
}
: S) y& D' e' e4 f- h
! q r/ K: ?) E5 M3 G E5 F $for = function (s,c){
7 ?9 X0 L _8 W var $n="this."+c+"()" ;- ^8 F# T" t) N5 x% [
if(s!=null){* B9 W+ t8 J4 |* s' {% W
var $m =$test(s);
4 j% C1 N; ~$ T' T for (var i=0;i<$m.length ;i++ ){8 h3 q: T/ _( i2 R8 w s: ]9 s
u = $m<i>;
0 x' m: u* K. M8 b. L* X5 C/ I eval($n);0 v4 H# C) l* W
}, Q0 w. e, g. v x3 ~9 p. f6 v5 l
}+ C3 v+ V$ Z* ~6 G
else{
3 a! _" y, \/ X- V eval($n);! Z+ M" k6 D$ @. r
}
\/ m& O: Z) b2 E. A T }
4 g+ F! s( V: z+ W- L) D
2 U6 C! F5 |0 `* Q) G) }$ M $test = function (a){
+ W% {- Z% S! T( N! w var o = new Array();$o(a.split(';'),o);4 l, `4 g U" _3 P% C: R
return o;
3 _: c9 ?# v. ~ }
( r6 P3 l: p8 Z, Q$ G
/ Y( ?2 `. A# K $format = function(s){/ M# h3 |$ D- l$ M2 y
while (s.indexOf("'")>0){0 B" @) p5 V$ L, q& p
s=s.replace("'","\"");
% v& h7 }+ d% u1 r }0 ?9 Z# e: E9 C
while (s.indexOf("][")>0){
% a1 h" A) \5 o0 Z5 o, |2 g s=s.replace("][","','")7 B( \7 [. w# ^ \/ Y' J
}
+ z* E. `! g$ u1 c while (s.indexOf("[")>0){
/ F1 x6 L5 Q+ ]. o: d8 m$ d s=s.replace("[","'").replace("]","'")
8 [- ]5 g) g, x" c! B }
4 O8 y6 q. W# g% N return s;
: i- V" [% l/ I( e/ F8 j1 @ }' L1 _$ {4 `( }! Z# l9 Q
8 x; P, w1 v% ]7 m
$work = function(w,s){
) F; y+ Q1 G3 l- i# I' w u=w;eval(s)2 K% _& p" B) w2 I( k6 n( M
}" Q4 H0 l- S% U/ ?9 q9 C7 ~/ `% o
: A9 \# T: P3 u) B" l& i5 Y $id = function (s){# S: B% [4 N% v
return document.getElementById(s);
: ~ ]6 J) M( a8 F6 a }
; W c% n1 O) B/ u
2 d C* p2 }& S" t" A $name = function (s){
/ n$ l1 ~: E. I* m return document.getElementsByName(s);& C# w+ x0 l( `: W" \0 [
}
" c+ f) @2 I- t9 W, Y3 g3 Y
- |. u. R% i9 @, ^# _% c0 d8 [ $tagname = function (s){
( A) Q+ x0 s" m9 e return document.getElementsByTagName(s);6 y6 I' h5 g* H1 W2 }
}% \1 b3 S% J9 {$ i* ^# A( E0 {
0 I5 P9 {( Q% N" @7 v# N
$o = function (a,o,c){
- j& y* L: C! H* f* Q. D, x4 g9 y3 ~ $push = function (n) {
% Q, f# }& u1 Q# }; v for (var i=0;i< n.length;i++ ){
& }! j9 n0 u- Y o.push(n<i>);
a L! B$ a) q9 c' p }
5 m# I- u7 A5 F) y* m }
3 O; i, w: ]1 `. {4 N& ^ for(var i=0;i<a.length;i++){
- ]6 `6 P! X& o3 F" s if(a<i>.indexOf("(") >= 0){
+ ~( z, h% ~) H- b. f4 ?' r c.push(a<i>);( {" J( v0 U s0 O t4 N
}
! Z$ `6 |2 S$ e0 V2 W, a9 W, J if(a<i>.indexOf("~") > 0){& n6 ~' `- w2 P
try {
1 O# Q1 n* O# U: d P $push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
% J4 c) _/ m1 W) S }catch(e)8 Y0 C3 T- d' z5 n' ^- N: {
{}
0 H. `8 m# q; K% I7 y; F7 [3 ? }
* }5 N/ ?& e* l, ` else{3 X V! l- ~/ Y) O1 q0 f' q
if(a<i>.indexOf("#")==0){
5 p: A+ c b) r o.push($id(a<i>.replace("#","")));
, x) s. g' n5 v3 M# H& e }
! b: o0 b3 C% p& f2 u if(a<i>.indexOf(".")==0){
+ e8 D6 `/ G' @5 d $push($name(a<i>.replace(".","")));+ A, f, D3 p6 h9 f) {1 W+ a
}
% n L8 r3 F8 y+ ~" D! N+ C$ {; ~ if(a<i>.indexOf("@")==0 ){
* N- e+ ?+ k6 p8 I1 _- W $push($tagname(a<i>.replace("@","")));
0 j- p( J/ t* z }
, ]. i; ^& k3 {# u# M5 ]" } if(a<i>.indexOf("*")==0){: x8 l7 J- x) ~
$p= a<i>;
4 R: u% y' w" j: H. b1 W2 I1 D if($p.indexOf(".")< 0){
9 g/ u. @6 W6 q `+ y; x8 W0 k $p = $p.replace("parent","parentNode")
7 R4 l, K: g- `0 ?3 q" v }/ r/ a* R7 V" T
var $p ="u."+$p.replace("*","");
2 w4 ^5 u: ~& Q" O4 {% O; i6 H while ($p.indexOf("parent.")> 0){, p' n! A+ `* p0 @) N$ ?6 f" s( j
$p = $p.replace("parent.","parentNode.")* z; \; A7 o1 |
}/ g+ `) [; [) q: y! x; B ^$ k
while ($p.indexOf("child{")> 0){1 a, ^+ {( t! K
$p = $p.replace("child{","childNodes[").replace("}","]")5 W$ U: P+ T+ P) T
}
9 ]4 w1 ^4 c7 x7 T o.push(eval($p));* g6 t' D0 E3 m
}: L. c" K: P" v6 ]( ^" T$ `
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){
1 y& D, j- t# W# k X) I2 a; s o.push(eval(a<i>));: I3 B8 ~* O; ^0 G; J
}! d8 N$ u% G, u. b" T0 z( Q, G( \
}
3 q( Q) d; f. f5 g# e! u5 y if(g!=null){ ' a0 v L5 l- l8 m/ i7 _1 O4 T' `
o.push(g);g=null% k3 G$ U6 h* h
} 2 t* w! g& w* a' R" e
}
6 T0 s) l D- X2 j }
( j# l% x, @' Q& a! m% {/ [" s5 r
$o(a,o,c);
; p+ u2 g; [& _+ @$ \4 Z& E) _, x' j4 K# K1 H
for(var i = 0;i<o.length;i++){# t8 a8 n8 u0 U4 \0 y
for(var j=0;j<c.length;j++){) Y4 g C: [3 ~. a$ R, s
u = o<i>;eval($format(c[j]));
" I$ P5 z& G8 P }
" A# f+ M" J! [- E6 e1 i# n }) Z; I' Q/ g# u# K* i
6 `) o: |( {9 i( F, M9 a
if(o.length == 0){
+ M F6 h" m! X9 a# ], @ for(var i=0;i<c.length;i++){
5 F2 s; j( N" s3 K eval($format(c<i>));; f; J I7 c4 s% o% y$ u, b
}
' _+ x$ ?( a: f9 r/ t5 X }
Z) k! t. G- W: O& S" b 8 d1 X% R2 t$ x: n& c2 w: C1 l5 g
if(r!=null){6 l! J" D& w1 ?$ f1 @9 r+ D3 A( J
return r;
' i3 ^0 v7 C( X7 w) p; m3 @ }1 e% H3 I! \' z. W
9 K( N, m5 u T( j1 L% ~ if(o.length==1){4 e; m! f b3 c" q* ~) f- g0 |( x
return o[0];
! B* |7 D4 y! c H& |! G+ Z }
) I0 ^) l# A0 W else{* k5 l$ r" e# @* K; r
return o
3 l% J7 v+ ^* G }
. x, I8 h0 k$ Q) n/ x+ L5 w, s
9 K5 T: N% y, R% o }
6 O3 J+ j I+ w0 W% O, U2 w$ ^var lrc =$("#lrc;show()").innerHTML.split("[");5 w2 ]8 E; T4 W8 C& b- x
if(lrc.length>5){
, y1 g! j( `2 x5 R, x( jvar array = new Array();
. l$ v+ \8 u% Qfor (var i=0;i<lrc.length ;i++ ), o; n& a; Y. A3 n1 a
{
% u/ K2 U" ?, z! P var g = new Object();
# k' u7 ?$ H9 L8 f, x; D t= lrc<i>.split("]");$ \) @ R# W$ I4 N6 ]. v
g.time = getTime(t[0]);* ?3 n6 Y$ d. [0 }% [, O5 k* t; U
if(isNaN(g.time))
% e+ G" w# \" w+ i: Y4 Z( h continue;
* `$ h' ~# G1 {4 q/ z g.c = t[1];
: u& G2 j- D \8 z; B+ l/ ~0 n if(g.c == "")
8 w9 c! [/ w4 u7 ]( b g.c = getNext(i); `5 n+ u# j7 ~
array.push(g);
' S0 @4 M1 ^$ ~" ]3 \' b9 j}
; V; v! h0 L* r4 r6 p& o/ ~array.sort(function(x, y) {
$ z/ _2 O/ X* y if (x.time>y.time)
1 [) h, c* _* z return 1;
: r* P& r8 p$ L6 J9 p else if(x.time<y.time)2 b9 D! R0 t( ^. v; y
return -1;" e3 ?$ s R1 D2 E" O, |
else
8 i' P% C% f6 F( L& Z* d( M return 0;
* _, c' J9 Z. d, `8 N/ t% k3 t, | }
5 J9 M* Q5 X5 ^+ L: H p);
) P3 ]$ D" a5 \; T z8 zfor(var i = 0;i<array.length;i++)4 l; W3 f* r& ?5 T% E
{
5 Z* a5 ?2 V, Q8 r3 l! Z9 o, c# i# y var g = array<i>;
- O5 Z: B! Q1 J9 x( N if(!g.c){
: P$ f' ]7 @8 l% l7 {" m0 c g.c="";& k/ j6 b" [0 Y e
}
U" w5 D. }) B# b3 q2 c7 E $("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";& ]" T8 W; K, E9 V& D d7 t8 I: t3 T
}
* z+ ]% c9 A/ y0 F8 j9 }var time = setInterval("lrcList()",500); $ I" r- L* b2 W2 X1 D! ^3 }
}else{% N' F1 r0 T) M3 p% ~& ?+ z; g
$("#list").innerHTML=$("#lrc").innerHTML;
1 E2 Q. o8 Z8 P& \}
7 W O( E. Q- s. e" xfunction getNext(i)" L. [0 `7 j; ~$ M3 H3 }" G1 ^* |
{+ q4 n' k% x. h8 {% l/ |& B5 ?) N
var result = "";
: X% c! W" U5 f, X var i = i+1;3 P+ d% W% r5 K8 ^5 i" B1 F
t = lrc<i>.split("]");
" a! Z: h" S% ], C' U4 t if(t[1]=="")
% O1 ]' }$ c* q result = getNext(i);
3 O6 f2 R2 M. @" n# ]2 k else5 O6 h8 C3 ^8 g, ]$ Q) s5 \9 L
result = t[1]
1 V. l* W9 P$ h* l" U" {3 f; b return result;( i7 q& r) {* D+ }
}2 o) f8 w& t% B4 s/ Q
4 z% t% z- f7 @# U
function getTime(str)1 j9 b; ^2 J; y2 z ~! S f
{
- i3 b, Q) N6 e5 X9 [/ t var time =0;; }( K1 _) F1 Y6 D& Q. [+ r0 A! f
var ta = str.split(":");) x5 e1 I1 c4 I- \/ ~/ I% E: h
if(ta.length<2)
6 |3 b8 u1 H& R0 a' a! t1 [ return time;/ b* U2 S+ V4 d' `. G3 I
+ }- R& }. P4 U! S! }* ^: M0 S if(ta[1].indexOf(".")>0){' T" y7 q/ s5 q c( H: _; q) Q8 i
var tb = ta[1].split(".");* V: O- m6 k0 b
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;% H a, B6 m: k
}
& n$ @; U# H% B" N- V else* h5 t2 H$ g( a3 G" y
time =ta[0]*60*1000+ta[1]*1000;: X& o! n( ]3 N: C5 H4 o
return time;$ o; a7 O+ v- w; z) {
}/ y) Q' K# J6 y4 g
var preTime = 0;. L* l6 q6 D6 J' S3 a
var nextTime = 0;1 j, c: }# I9 x$ i
var currIndex =0;/ s: }2 e! \2 l9 a v; A: w+ b
function lrcList(){
4 Z6 `! H, y4 k5 l4 H var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;2 i! h! N# f6 T# b" s+ Q
s = s*1000;: c$ ]8 O0 |1 h7 }$ f: H% @
if(s==0){! C2 w+ p* c# n3 \. ?4 T) c
currIndex =0;1 m& M% e. k- M! _. O- `& o
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
x( r |1 c8 t. `& @! W. l. R for(var i=0;i<array.length;i++){
: M/ V. w( y& J, _ document.getElementById("lrc"+i).style.color=colorNormal;. Q' v4 K& }, o7 t
}
% k# ?4 A4 z" R9 ` return;( y u; W7 }4 M2 }5 _, s
}+ S& h8 G) T" @/ g2 ]# G& h# t
if(s>0&&currIndex<array.length-1)4 x0 _' S" k! B/ H: O; _+ l
{
j; s v1 M) M, c. X5 \ preTime = array[currIndex].time;
& I6 @4 W0 k' t) D: D; U& a ) l- D. y' B% q w
nextTime = array[currIndex+1].time;5 b P6 Q' ]5 n+ T- e' Y) r
9 J. V1 j$ w# j
if(s>=preTime&&s<nextTime){
5 H0 z l9 V% y9 j }$ Q' X5 B, d, P T1 C0 ^0 T
else if(s>=nextTime)
# g; D4 i; Z- c( V {9 m" C* f# J. ]; C5 c
document.getElementById("lrc"+currIndex).style.color=colorPasted;
8 n `% z0 }/ e% _9 a. N2 { currIndex++;
! t, ?" o2 W/ m $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
) ^( g6 |7 _6 T, J4 l document.getElementById("lrc"+currIndex).style.color=colorPlaying;3 @8 X1 A( W. _/ u0 {& [ b
lrcList();) ]- {% B& q$ B' l2 e
}1 {% X/ q4 }8 [4 B' p: s
else{
% A- ^, I* a" P1 d7 a document.getElementById("lrc"+currIndex).style.color=colorNormal;/ O6 q% G% l7 {- Z6 M% q X
currIndex--;
& Y' `+ [% D% R$ G1 G' F $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
7 ?# u& J: q) y7 u' V document.getElementById("lrc"+currIndex).style.color=colorPlaying;
/ L! G3 H- c `! R# Z lrcList();
" r) W, C+ d) {6 g; W }
( J& X: D) c" g$ ~, A9 Z) F$ I' w }
- I3 F* j" z% j a else
8 H# i) V1 K% K4 ?5 Z {, g0 Y+ ?0 e6 {$ |
if(s<array[array.length-1].time){4 [; f* }* R; p0 i* L
currIndex = 0;4 t3 K% J* ^! b- d
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
" E9 r9 B H+ {& W for(var i=0;i<array.length;i++){
' n; w+ x: O4 H/ Y4 T0 ] document.getElementById("lrc"+i).style.color=colorNormal;. D4 z4 Z. G* a2 D' M' P& m3 T4 h
}' w5 f5 @2 p! a: c/ @7 } G
lrcList();
+ |* S( e! b4 X }
9 {! L2 _9 ]; T u: c }; p' g5 b# P+ d% `
}7 v( t$ r* n: f! ^) I# Z9 ^5 `
</SCRIPT>
# G: X# W" u. w; R: P- R! |( W* F</DIV></DIV>9 \# B4 ^' ?8 U/ m2 d
' T6 Z! T R) o8 [; h[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|